package com.kancy.springcloudconfig.factory;

/**
 * <p>
 * MainFrameBeanNameResolver
 * </p>
 *
 * @author: kancy
 * @date: 2019/10/26 14:19
 **/
public class MainFrameBeanNameResolver implements BeanNameResolver {
    @Override
    public String namespace() {
        return "MAIN_FRAME";
    }

    @Override
    public String beanName(String name) {
        return namespace()+"_"+name;
    }
}
